package User;
import operation.*;
import book.booklist;

import java.util.Scanner;

public class AdminUser extends User {

    public AdminUser(String name) {
        super(name);
        this.ioperation=new ioperation[]{
                new exit(),
                new find(),
                new add(),
                new del(),
                new display(),

        };
    }

    public int menu(){
        System.out.println("welcome+"+this.name);
        System.out.println("1查找图书");
        System.out.println("2新增图书");
        System.out.println("3删除图书");
        System.out.println("4显示图书");
        System.out.println("0退出系统");
        Scanner sca = new Scanner(System.in);
        int choice = sca.nextInt();
        return choice;
    }
}
